<template>
  <div style="position: relative">
    <h2>learn teleport</h2>
    <div>
      <ModalButton></ModalButton>
    </div>
  </div>
</template>

<script>
import ModalButton from "../src/components/ModalButton";
export default {
  name: "App",
  components: {
    ModalButton,
  },
};
</script>

<style>
.modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 300px;
  height: 300px;
  padding: 5px;
}
</style>
